<div class="table-margin">
	<div class="table-header">
        <table class="table table-bordered table-header">
            <thead>
                <tr>
                	<td class="w5 text-center">
                        	<!--<input type="checkbox" ng-model="master" ng-click="all(user_tabVal)" ng-checked="personalisSelected(val.userId,user_tabVal)" class="ng-pristine ng-untouched ng-valid">-->
                        <input type="checkbox" 
	                    	   ng-model="master" 
	                    	   ng-mousedown="getDataID()" 
	                    	   ng-click="selectAll(master, tabVal)"
	   							>		
                   
                	</td>
                    <td class="w10 text-center">用户名</td>
                    <td class="w10 text-center">昵称</td>
                    <td class="w10 text-center">邮箱</td>
                    <td class="w10 text-center">注册时间</td>
                    <td class="w10 text-center">用户状态</td>
                    <td class="w10 text-left">操作</td>
                </tr>
            </thead>
        </table> 
    </div>
    <div class="table-body">
        <table class="table table-bordered table-header">    
            <tbody id="personal-user-tbody">
            	<!--<tr>-->
                 <tr ng-repeat="val in user_tabVal"  ng-class="{'active':$index%2!=0}">
                 	<td class="w5 text-center">
                        	<!--<input type="checkbox" ng-model="personalcheck" id={{user.userId}} ng-checked="personalisSelected(user.userId,user)" ng-click="personalupdateSelection($event,user.userId,user_tabVal)" class="ng-pristine ng-untouched ng-valid">-->
	                    <input type="checkbox" 
	                    	   ng-checked="master" 
	                    	   ng-mousedown="getDataID()" 
	                    	   ng-click="select(val,bool)"
	                    	   ng-model="bool" 
	                    	   >		
                    </td>
                    <td class="w10 text-center">{{val.userName}}</td>
                    <td class="w10 text-center">{{val.displayName}}</td>
                    <td class="w10 text-center">{{val.email}}</td>
                    <td class="w10 text-center">{{val.createDate  | date:'yyyy-MM-dd'}}</td>
                    <td class="w10 text-center" ng-model="status" ng-click="userStatusToggle($event, $index)">
                    	<!--{{user.status}}-->
                    	<strong class="blue-color"  ng-show="val.status == 1">启用</strong>
                    	<strong class="red-color" ng-show="val.status == 0">禁用</strong>
                    </td>
                    <td class="w10 text-left icon-td">
                        <!--<i class="icon-deny"  ng-class="{open : user.status == 0}" ng-click="userStatusToggle($event, $index)"></i>-->
             
                      	<span class="btn-i " title="个人所属机构" data-toggle="modal" data-target="#packing" ng-click="packing($event, $index)">
	                            <img width="20px" src="../images/right-product/Institutional-user.png">
	                    </span>
                        <span class="btn-i" title="详情" ng-click="details($event, $index)" >
	                        <img width="14px" src="../images/right-product/view.png">
	                    </span>
                        <span class="btn-i" title="修改"    ng-click="update($event, $index)" >
                            <img width="14px" src="../images/right-product/edit.png">
                        </span> 
                        <span class="btn-i " title="修改密码"	ng-click="getPassword($index)">
	                            <img width="20px" src="../images/right-product/password.png">
	                    </span>
	                    <span class="btn-i " title="重置密码" ng-click="getpasswordReset($index)">
	                            <img width="20px" src="../images/right-product/password-o.png">
	                    </span>
                        <!--<i class="icon-delete"  title="删除"     data-toggle="modal" data-target="#delete" 	ng-click="delete($event, $index)"></i>-->
                        <!--<i class="glyphicon  glyphicon-pencil" data-toggle="modal" data-target="#password"></i>
                        <i class="glyphicon glyphicon-piggy-bank" data-toggle="modal" data-target="#passwordReset"></i>-->
                    </td>
                </tr> 
                <tr>
                    <td class="text-center hidden" id="personal-user-tbody-no-data" colspan="12">暂无数据</td>
                </tr>
            </tbody>
        </table>
    </div>    
</div>